package com.usian.service.impl;

import com.usian.mapper.ClMapper;
import com.usian.mapper.ZhuceMapper;
import com.usian.pojo.CL;
import com.usian.pojo.User;
import com.usian.pojo.Zhuce;
import com.usian.service.ClService;
import com.usian.service.ZhuceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ClServiceImpl implements ClService {

    @Autowired
    private ClMapper clMapper;
    @Override
    public List<CL> findAll(CL cl) {
        return clMapper.findAll(cl);
    }

    @Override
    public List<CL> findGL(CL cl) {
        return clMapper.findGL(cl);
    }


    @Override
    public void addCL(CL cl) {
        clMapper.addCL(cl);
    }

    @Override
    public void editCL(CL cl) {
        clMapper.editCL(cl);
    }

    @Override
    public CL editId(Integer id) {
        return clMapper.editId(id);
    }

    @Override
    public void del(Integer id) {
        clMapper.del(id);
    }
}
